package com.hns.can.base.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.UniqueConstraint;

/**
 * TSysFieldRegister entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_SYS_FIELD_REGISTER",
       uniqueConstraints = @UniqueConstraint(columnNames = {"FUNC_ID", "TABLE_ID", "FIELD_NAME" }))
public class SysFieldRegisterEntity implements java.io.Serializable {
    
    // Fields
    
    @Id
    @Column(name = "ID")
    private String     id;
    @Column(name = "FUNC_ID")
    private String     funcId;
    @Column(name = "TABLE_ID")
    private String     tableId;
    @Column(name = "TABLE_DSC")
    private String     tableDsc;
    @Column(name = "FIELD_NAME")
    private String     fieldName;
    @Column(name = "FIELD_DSC")
    private String     fieldDsc;
    @Column(name = "FIELD_SN")
    private BigDecimal fieldSn;
    @Column(name = "CREATE_TS")
    private Date       createTs;
    
    @Transient
    private String     fieldAlias;
    
    // Constructors
    
    /** default constructor */
    public SysFieldRegisterEntity() {
    }
    
    // Property accessors
    
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getFuncId() {
        return this.funcId;
    }
    
    public void setFuncId(String funcId) {
        this.funcId = funcId;
    }
    
    public String getTableId() {
        return this.tableId;
    }
    
    public void setTableId(String tableId) {
        this.tableId = tableId;
    }
    
    public String getTableDsc() {
        return this.tableDsc;
    }
    
    public void setTableDsc(String tableDsc) {
        this.tableDsc = tableDsc;
    }
    
    public String getFieldName() {
        return this.fieldName;
    }
    
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }
    
    public String getFieldDsc() {
        return this.fieldDsc;
    }
    
    public void setFieldDsc(String fieldDsc) {
        this.fieldDsc = fieldDsc;
    }
    
    public BigDecimal getFieldSn() {
        return this.fieldSn;
    }
    
    public void setFieldSn(BigDecimal fieldSn) {
        this.fieldSn = fieldSn;
    }
    
    public Date getCreateTs() {
        return this.createTs;
    }
    
    public void setCreateTs(Date createTs) {
        this.createTs = createTs;
    }
    
    public String getFieldAlias() {
        return fieldAlias;
    }
    
    public void setFieldAlias(String fieldAlias) {
        this.fieldAlias = fieldAlias;
    }
    
}
